<html>
<head>
<title> My Webpage </title>
<script type = "text/javascript">

var name = prompt("Enter your name: ", "Type your name here: " );
document.write("Hello, " + name + "!");

var num = prompt ("Enter a number");

num=parseInt(num);

if(num > 5){
	alert ( "Number is greater than 5");}
else {
	alert ("Number is less than 6");}

</script>
</head>
<body> </body>
</html>
